package org.feifei.org.mapper;

import org.feifei.basic.mapper.BaseMapper;
import org.feifei.org.domain.Shop;
import org.feifei.org.query.ShopQuery;

import java.util.List;

/**
 * Shop 的mapper接口
 */
public interface ShopMapper extends BaseMapper<Shop> {

    /**
     * 根据店铺的地址和名称 去获取 符合该条件的店铺信息
     * @param shop 店铺实体类
     * @return
     */
    Shop findByAddressAndName(Shop shop);
}
